↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
FL_IN_AGA(.(E, X), R, s(Z)) → APPEND_IN_AAG(E, Y, R)
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U3_AAG(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → U2_AGA(E, X, R, Z, fl_in_aga(X, Y, Z))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
FL_IN_AGA(.(E, X), R, s(Z)) → APPEND_IN_AAG(E, Y, R)
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U3_AAG(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → U2_AGA(E, X, R, Z, fl_in_aga(X, Y, Z))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND_IN_AAG(.(X, Zs)) → APPEND_IN_AAG(Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_in_aag(R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(X) → append_out_aag([], X)
append_in_aag(.(X, Zs)) → U3_aag(X, append_in_aag(Zs))
U3_aag(X, append_out_aag(Xs, Ys)) → append_out_aag(.(X, Xs), Ys)
append_in_aag(x0)
U3_aag(x0, x1)
append_in_aag(.(X, Zs)) → U3_aag(X, append_in_aag(Zs))
POL(.(x1, x2)) = 1 + 2·x1 + 2·x2
POL(FL_IN_AGA(x1)) = 2·x1
POL(U1_AGA(x1)) = x1
POL(U3_aag(x1, x2)) = 1 + 2·x1 + 2·x2
POL([]) = 0
POL(append_in_aag(x1)) = 2·x1
POL(append_out_aag(x1, x2)) = x1 + 2·x2
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_in_aag(R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(X) → append_out_aag([], X)
U3_aag(X, append_out_aag(Xs, Ys)) → append_out_aag(.(X, Xs), Ys)
append_in_aag(x0)
U3_aag(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_in_aag(R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(X) → append_out_aag([], X)
append_in_aag(x0)
U3_aag(x0, x1)
U3_aag(x0, x1)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_in_aag(R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(X) → append_out_aag([], X)
append_in_aag(x0)
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(X) → append_out_aag([], X)
append_in_aag(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
append_in_aag(x0)
append_in_aag(x0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ PrologToPiTRSProof
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
U1_AGA(append_out_aag(E, Y)) → FL_IN_AGA(Y)
U1_AGA(append_out_aag([], z0)) → FL_IN_AGA(z0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
↳ PrologToPiTRSProof
U1_AGA(append_out_aag([], z0)) → FL_IN_AGA(z0)
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
U1_AGA(append_out_aag([], z0)) → FL_IN_AGA(z0)
FL_IN_AGA(R) → U1_AGA(append_out_aag([], R))
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
FL_IN_AGA(.(E, X), R, s(Z)) → APPEND_IN_AAG(E, Y, R)
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U3_AAG(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → U2_AGA(E, X, R, Z, fl_in_aga(X, Y, Z))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
FL_IN_AGA(.(E, X), R, s(Z)) → APPEND_IN_AAG(E, Y, R)
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → U3_AAG(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → U2_AGA(E, X, R, Z, fl_in_aga(X, Y, Z))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APPEND_IN_AAG(.(X, Xs), Ys, .(X, Zs)) → APPEND_IN_AAG(Xs, Ys, Zs)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
APPEND_IN_AAG(.(X, Zs)) → APPEND_IN_AAG(Zs)
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
fl_in_aga([], [], 0) → fl_out_aga([], [], 0)
fl_in_aga(.(E, X), R, s(Z)) → U1_aga(E, X, R, Z, append_in_aag(E, Y, R))
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
U1_aga(E, X, R, Z, append_out_aag(E, Y, R)) → U2_aga(E, X, R, Z, fl_in_aga(X, Y, Z))
U2_aga(E, X, R, Z, fl_out_aga(X, Y, Z)) → fl_out_aga(.(E, X), R, s(Z))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
FL_IN_AGA(.(E, X), R, s(Z)) → U1_AGA(E, X, R, Z, append_in_aag(E, Y, R))
U1_AGA(E, X, R, Z, append_out_aag(E, Y, R)) → FL_IN_AGA(X, Y, Z)
append_in_aag([], X, X) → append_out_aag([], X, X)
append_in_aag(.(X, Xs), Ys, .(X, Zs)) → U3_aag(X, Xs, Ys, Zs, append_in_aag(Xs, Ys, Zs))
U3_aag(X, Xs, Ys, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
U1_AGA(R, append_out_aag(E, Y, R)) → FL_IN_AGA(Y)
FL_IN_AGA(R) → U1_AGA(R, append_in_aag(R))
append_in_aag(X) → append_out_aag([], X, X)
append_in_aag(.(X, Zs)) → U3_aag(X, Zs, append_in_aag(Zs))
U3_aag(X, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
append_in_aag(x0)
U3_aag(x0, x1, x2)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
FL_IN_AGA(.(x0, x1)) → U1_AGA(.(x0, x1), U3_aag(x0, x1, append_in_aag(x1)))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
U1_AGA(R, append_out_aag(E, Y, R)) → FL_IN_AGA(Y)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
FL_IN_AGA(.(x0, x1)) → U1_AGA(.(x0, x1), U3_aag(x0, x1, append_in_aag(x1)))
append_in_aag(X) → append_out_aag([], X, X)
append_in_aag(.(X, Zs)) → U3_aag(X, Zs, append_in_aag(Zs))
U3_aag(X, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
append_in_aag(x0)
U3_aag(x0, x1, x2)
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
FL_IN_AGA(.(x0, x1)) → U1_AGA(.(x0, x1), U3_aag(x0, x1, append_in_aag(x1)))
append_in_aag(X) → append_out_aag([], X, X)
append_in_aag(.(X, Zs)) → U3_aag(X, Zs, append_in_aag(Zs))
U3_aag(X, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
append_in_aag(x0)
U3_aag(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FL_IN_AGA(.(x0, x1)) → U1_AGA(.(x0, x1), U3_aag(x0, x1, append_in_aag(x1)))
Used ordering: Polynomial interpretation [25]:
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
POL(.(x1, x2)) = 1 + x1 + x2
POL(FL_IN_AGA(x1)) = x1
POL(U1_AGA(x1, x2)) = x2
POL(U3_aag(x1, x2, x3)) = x1 + x3
POL([]) = 0
POL(append_in_aag(x1)) = x1
POL(append_out_aag(x1, x2, x3)) = x2
append_in_aag(X) → append_out_aag([], X, X)
U3_aag(X, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
append_in_aag(.(X, Zs)) → U3_aag(X, Zs, append_in_aag(Zs))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ UsableRulesProof
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
append_in_aag(X) → append_out_aag([], X, X)
append_in_aag(.(X, Zs)) → U3_aag(X, Zs, append_in_aag(Zs))
U3_aag(X, Zs, append_out_aag(Xs, Ys, Zs)) → append_out_aag(.(X, Xs), Ys, .(X, Zs))
append_in_aag(x0)
U3_aag(x0, x1, x2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
append_in_aag(x0)
U3_aag(x0, x1, x2)
append_in_aag(x0)
U3_aag(x0, x1, x2)
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
U1_AGA(.(z0, z1), append_out_aag(x1, x2, .(z0, z1))) → FL_IN_AGA(x2)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
U1_AGA(.(x0, x1), append_out_aag([], .(x0, x1), .(x0, x1))) → FL_IN_AGA(.(x0, x1))
↳ Prolog
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Instantiation
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ NonTerminationProof
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
U1_AGA(.(x0, x1), append_out_aag([], .(x0, x1), .(x0, x1))) → FL_IN_AGA(.(x0, x1))
U1_AGA(z0, append_out_aag([], z0, z0)) → FL_IN_AGA(z0)
FL_IN_AGA(x0) → U1_AGA(x0, append_out_aag([], x0, x0))
U1_AGA(.(x0, x1), append_out_aag([], .(x0, x1), .(x0, x1))) → FL_IN_AGA(.(x0, x1))